/**
 * 
 */
package com.ccqlk.attendance.model;

import javax.persistence.Entity;
import javax.persistence.GeneratedValue;
import javax.persistence.GenerationType;
import javax.persistence.Id;
import javax.persistence.Table;

/**
 * Copyright 2015-2018 重庆鲁控科技有限公司<br>
 * 文件标题: OnlineUser<br>
 * 文件说明: 在线用户<br>
 * @author ZhangYinxian 348893009@qq.com<br>
 * 创建时间 2016年5月27日 下午6:07:25<br>
 */
@Entity
@Table(name="online_user")
public class OnlineUser extends DateModel {

	private static final long serialVersionUID = -1202531314032168023L;

	@Id
	@GeneratedValue(strategy=GenerationType.IDENTITY)
	private Long id;
	
	private String token;
	
	private String userCode;

	public String getToken() {
		return token;
	}

	public void setToken(String token) {
		this.token = token;
	}

	public String getUserCode() {
		return userCode;
	}

	public void setUserCode(String userCode) {
		this.userCode = userCode;
	}

	public Long getId() {
		return id;
	}

	public void setId(Long id) {
		this.id = id;
	}
	
	
}
